package com.Merlin.myapplication.kotlin

fun main() {
    intro(null)
}

fun sum(a: Int, b: Int): Int {
    return a + b
}

fun intro(name: String?) {
    println("hello $name")
}

fun sum2(a: Int, b: Int = 1) = a + b
fun sum3(a: Int,vararg b: Int) = a